package dao;



import java.sql.SQLException;

import dto.Flat;

public interface FlatDao {
	public void add(Flat f) throws Exception;
	
	public void update(Flat f) throws Exception;
	
	public void delete (Flat f) throws Exception;
	
	public Flat retreive(String conditionField,String ConditionValue) throws Exception ;
	
	public Flat[] retreiveArray(String conditionField,String ConditionValue) throws Exception ;
	
	public Flat[] retreiveAll() throws Exception ;
	

}
